* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(to bottom, #2193b0, #6dd5ed);
    // 模糊滤镜，很牛逼

    .color {
        position: absolute;
        filter: blur(200px);
        &:nth-child(1) {
            background: #fd746c;
            width: 800px;
            height: 800px;
            top: -450px;
        }
        &:nth-child(2) {
            background: #cf8bf3;
            width: 600px;
            height: 600px;
            bottom: 150px;
            left: 100px;
        }
        &:nth-child(3) {
            background: #fdb99b;
            width: 400px;
            height: 400px;
            bottom: 50px;
            right: 100px;
        }
    }

    &::before {
        //页面的下部分为更加模糊的部分
        content: '';
        position: absolute;
        bottom: 0px;
        width: 100%;
        height: 50%;
        z-index: 1;
        border-top: 1px solid rgba(255, 255, 255, 0.5);
        //背景模糊
        backdrop-filter: blur(5px);
    }
}
ul {
    position: relative;
    display: flex;
    z-index: 2;
    li {
        position: relative;
        list-style: none;
        margin: 10px;
        a {
            position: relative;
            width: 80px;
            height: 80px;
            display: inline-block;
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            color: #fff;
            font-size: 32px;
            border: 1px solid rgba(255, 255, 255, 0.4);
            border-right: 1px solid rgba(255, 255, 255, 0.2);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0px 5px 45px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(2px); // 后面的线被模糊了
            transition: all 0.5s;
            overflow: hidden;

            &:hover {
                transform: translateY(-20px);
                &::before {
                    transform: skewX(45deg) translateX(-150px);
                }
            }
            &::before {
                content: '';
                position: absolute;
                top: 0px;
                left: 0px;
                width: 50px;
                height: 100%;
                background-color: #fff;
                transform: skewX(45deg) translateX(150px);
                transition: all 0.5s;
            }
        }
    }
}
